﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="DotNet.WebUI.Admin.Register" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>基本信息编辑</title>
    <link href="../CSS/Main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="width:100%; min-height:400px; margin-top:-8px; margin:0 auto; padding:20px 0px; text-align:center; background-color:#FFF;">
            <table class="TableLayout" style="width:500px; margin:0 auto;border:1px solid #ccc;">
                <tr>
                    <td colspan="2" style="padding:10px 0px; font-size:16px; text-align:center; background-color:#eee; border-bottom:1px solid #ccc;">数据库应用案例 — 基本信息编辑</td>
                </tr>
                <tr>
                    <td class="Label">姓名</td>
                    <td><asp:textbox id="txtName" runat="server" CssClass="InputBox" Width="180" MaxLength="20"></asp:textbox></td>
                </tr>
                <tr>
                    <td class="Label">出生日期</td>
                    <td><asp:textbox id="txtBirthday" runat="server" CssClass="InputBox" Width="180"></asp:textbox></td>
                </tr>
                <tr>
                    <td class="Label">性别</td>
                    <td>
                        <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True" Value="1">男</asp:ListItem>
                            <asp:ListItem Value="2">女</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>
                <tr>
                    <td class="Label">民族</td>
                    <td>
                        <asp:DropDownList ID="DropDownList1" Width="180px" runat="server">
                            <asp:ListItem Value="1">汉族</asp:ListItem>
                            <asp:ListItem Value="2">彝族</asp:ListItem>
                            <asp:ListItem Value="3">白族</asp:ListItem>
                            <asp:ListItem Value="4">哈尼族</asp:ListItem>
                            <asp:ListItem Value="0">其他，等待添加数据</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="Label">手机号码</td>
                    <td><asp:textbox id="txtMobile" runat="server" CssClass="InputBox" Width="180" MaxLength="20"></asp:textbox></td>
                </tr>
                <tr>
                    <td class="Label">电子邮件</td>
                    <td><asp:textbox id="txtEmail" runat="server" CssClass="InputBox" Width="180"></asp:textbox></td>
                </tr>
                <tr>
                    <td class="Label">兴趣爱好</td>
                    <td>
                        <asp:CheckBox ID="CheckBox1" runat="server" Text="全选" /></td>
                </tr>
                <tr>
                    <td class="Label"></td>
                    <td>
                        <asp:CheckBoxList ID="CheckBoxList1" runat="server"  CssClass="InputBox" RepeatColumns="4" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">足球</asp:ListItem>
                            <asp:ListItem Value="2">篮球</asp:ListItem>
                            <asp:ListItem Value="3">排球</asp:ListItem>
                            <asp:ListItem Value="4">乒乓球</asp:ListItem>
                            <asp:ListItem Value="5">游泳</asp:ListItem>
                            <asp:ListItem Value="6">长跑</asp:ListItem>
                            <asp:ListItem Value="7">户外运功</asp:ListItem>
                            <asp:ListItem Value="8">旅游</asp:ListItem>
                            <asp:ListItem Value="9">看小说</asp:ListItem>
                            <asp:ListItem Value="10">美食</asp:ListItem>
                        </asp:CheckBoxList></td>
                </tr>
                <tr>
                    <td class="Label">家庭住址</td>
                    <td><asp:textbox id="txtAddress" runat="server" TextMode="MultiLine" Width="300" Height="60px"></asp:textbox></td>
                </tr>
                <tr>
                    <td class="Label"></td>
                    <td><asp:Button ID="btnSave" Width="130px" Height="50px" runat="server" Text="保  存" OnClick="btnSave_Click" /></td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>